Ext.define('TS.view.base.UserDeptEditor', {
    extend: 'Ext.window.Window',
    alias : 'widget.userdepteditor',

    title : '用户所属部门管理',
    width:400,
    height:380,
    tbar :[
				{xtype:'button',action:'setdefault',text:'设为默认',iconCls:'btn_settle'}
    	],
    initComponent: function() {
        
        this.buttons = [
        	{
                text: '保存',
                action: 'save'
            },
            {
                text: '取消',
                scope: this,
                handler: this.close
            }
        ];
        
        this.callParent(arguments);
    }
});
